package org.dromara.bean.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

import java.io.Serial;

/**
 * 问卷对象 his_questionnaire
 *
 * @author Lion Li
 * @date 2024-11-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("his_questionnaire")
public class HisQuestionnaire extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 问卷标题
     */
    private String title;

    /**
     * 返回结果
     */
    private String results;

    /**
     * 题目
     */
    private String topic;

    /**
     * 问卷图片
     */
    private String photo;

    /**
     *
     */
    @TableLogic
    private Long delFlag;


}
